package org.darcy.dao;

import java.util.List;
import java.util.Map;

import org.darcy.entity.SysResources;
import org.darcy.framework.generic.GenericDao;
import org.darcy.model.SysResourcesModel;

/**
 * 系统资源
 */
public interface SysResourcesMapper extends GenericDao<SysResources> {

	List<SysResourcesModel> listUserResources(Map<String, Object> map);

	List<SysResourcesModel> queryResourcesListWithSelected(Long rid);

	List<SysResourcesModel> listUrlAndPermission();

	List<SysResourcesModel> listAllAvailableMenu();

	List<SysResources> listByUserId(Long userId);
}
